<?php

if (!defined('BASEPATH'))
    exit('No direct script access allowed');

class licencia extends CI_Controller {

    private $establecimiento;

    public function __construct() {
        parent::__construct();
        session_start();
        $this->estaLogueado();
        $this->establecimiento = $_SESSION["establecimiento"]["id_establecimiento"];
        ///   $this->load->model('_cuentam');
        //  $this->load->model('_pagoCuentaM');
    }

    public function index() {
        $data=array();
        $this->loadData($data);
        $this->load->view('header', $data);
        $this->load->view('licenciaV');
        $this->load->view('footer');
    }

    private function loadData(&$data) {
        $data['tab'] = 'licencia';
        $data['navbar'] = 'datos-cuenta';
     //   $data['pagos'] = $this->_pagoCuenta('');
    }

}
